package constant

const (
	ENABLE  = 1
	DISABLE = 0
	DELETE  = -1
)

type PRIVILEGE_TYPE uint

const (
	OPERATOR = 1
	ADMIN    = 1 << 1
	AUDIT    = 1 << 2
)

var PRIVILEGE_NAME = map[PRIVILEGE_TYPE]string{
	OPERATOR: "operator",
	ADMIN:    "admin",
	AUDIT:    "audit",
}

var PRIVILEGE_TEXT = map[PRIVILEGE_TYPE]string{
	OPERATOR: "操作员",
	ADMIN:    "管理员",
	AUDIT:    "审计员",
}
